import request from '@/utils/request'

//统一字典下拉框查询
export function adminDict(params) {
    return request({
        url: `common/v1/adminDict`,
        params
    })
}
//足迹列表
export function getList(query) {
    return request({
        url: '/douyin/video/footprint/list',
        method: 'get',
        params: query
    })
}

// 关联店铺列表
export function shopList(query) {
    return request({
        url: '/douyin/video/footprint/shop/list',
        method: 'get',
        params: query
    })
}
//编辑足迹
export function editFoot(data) {
    return request({
        url: '/douyin/video/footprint',
        method: 'put',
        data: data
    })
}

//添加足迹
export function addFoot(data) {
    return request({
      url: '/douyin/video/footprint', 
      method: 'post',
      data: data
    })
}
//查询足迹
export function detail(id) {
    return request({
        url: `/douyin/video/footprint/detail/${id}`,
        method: 'get',
    })
}